The property 'Item' is required when creating the entity
I encountered an error while working with the Microsoft Graph API. The error message states, "The property 'Item' is required when creating the entity." I'm trying to auto-reply to an email that contains an item attachment, which is an EML…
fetch is not defined in SSO Office Add-in
I've followed the instructions here: Enable SSO in an Office Add-in using nested app authentication - Office Add-ins | Microsoft Learn Under the Call an API, TODO 4, my VS Code is telling me that 'fetch' is not defined. This is in the taskpane.js file.…
Sending messages in Teams from a background service
Hi everyone! I'm new to MS Graph and Teams, and I'm trying to create a background application that would send a reply to a specific post in a specific channel in MS Teams (or send a message to a specific group chat) based on events. I set app the…
Get Access Token dynamically for the login user
It is possible to generate the Access token dynamically for the login user and get the date from OneDrive and when some other user login in then the other login will see his/her information
How can I use /users/{user-Id}/events/ to see Teams meetings attendance reports?
I'm using Graph Explorer to read Team meetings reports, specifically the attendees join/leave times and their individual durations in the meeting. I can get all the data I need from my personal user ID. I am trying to use a GET…
FileOpenUserUnauthorized error for excel API
Hi, I hope you are doing well. I am exploring Microsoft Graph Explorer for excel API and testing get worksheets in workbook endpoint. Although I have provided correct drive-item-id , I'm keep getting following error. { "error": { …
Error: 401 - FileOpenUserUnauthorized - Graph API - OneDrive personal account
Hi, We are integrated with OneDrive and Sharepoint to Read and Write Excel files using Graph API. We are facing a problem, recently, in some users' accounts that use OneDrive with personal account type(not work and neither school). Some operations…
Unable to add application access policy: The remote name could not be resolved 'webdir.online.lync.com'
I am unable to add an application access policy to my organization due to the following error: I need an application access policy as my organization would like to use Microsoft Graph API and application access policy is needed for some of the APIs.
How to fix CORS Errors in Angular when calling Graph API (SendMail Purpose)
Hi all. I'm quite new to development in angular and I'm currently facing an issue with retrieving the bearer token from the graph endpoint. I've already set up an app registration in my tenant to provide my application with the necessary permissions…
channel isFavoriteByDefault only applies for existing owners and members
When I create a Team with channels in one request then when a channel have the isFavoriteByDefault property set to true then it only shows the channel by default for existing owners and members of the teams but not for new members. Is this normal…
Retrieve SharePoint groups (owner, members, visitors) from MSGraph API
Hi, In a SharePoint site, we have site members that we can fetch directly from Graph Api. SharePoint has other groups of users that are listed in Settings > Site Permissions. In that we have list of Owners, Members, Visitors). Is there any way we…
SharePoint Tenent Setting Not fully available in Graph API
The Graph API SharePoint Tenet setting is not giving complete details like the Powershell Cmd : Get-SPOTenent But SPOTenent is using only legacy authorization. And PnP also using only the user based bearer token not accepting the application based…
error_description=AADSTS90027%3a+We+are+unable+to+issue+tokens+from+this+API+version+on+the+MSA+tenant.+Please+contact+the+application+vendor+as+they+need+to+use+version+2.0+of+the+protocol+to+support+this
Im trying "Get Access without a User” Method, While trying the 3rd step Request administrator consent, I Get error…
Using Microsoft Graph to pull file usage details
On my site (just a single site, not an entire tenant), I have enabled the site feature "Sharepoint Viewers". This allows me to see who has viewed a file (and when). This is helpful when it comes to see if specific users have viewed required…
Microsoft Clarity issue
Microsoft Clarity is not displaying my new data for my website. https://techmoye.com/. Please help me.
graph api calendar for account with more than one calendar
Hi, I'd like to use the endpoint users/<id | UPN>/calendarView for a specific account, let's call it account@domain.com When I call endpoint users/account@domain.com/calendars , I get 3 different calendars, which is correct. The issue is that those…
Posting to https://graph.microsoft.com/v1.0/communications/callRecords/{id} is giving a 404 error
When I am running https://graph.microsoft.com/v1.0/communications/callRecords/{id} it gives a 404 error for all call ID's after 22/05/2024 13:25:24 (BST). If I run the same on call ID's before this time I get no errors. Invoke-RestMethod : The remote…
SPO list columnDefinition resource type missing properties
Hi, I am trying to get the column definition for my SPO list. I created the SPO column with location type as: Using this endpoint: endpoint = f"https://graph.microsoft.com/v1.0/sites/{site_id}/lists/{list_id}/columns" I am not getting any…
Sending Emails using MS-Graph with list-unsubscribe headers
Hi Team, I am facing some issue where i am not able to add list unsubscribe headers without X- prefix using Microsoft graph API. I have a use case where i want to add List-Unsubscribe and List-Unsubscribe-Post headers but when i try to add it to…
How to provide list-unsubscribe-post header using Microsoft Graph API
Hello! Our team use Microsoft Graph API to send emails. We need to add List-Unsubscribe and List-Unsubscribe-Post headers to our emails. According to all information that we have found, the only one way to add List-Unsubscribe-Post header is to use…